package com.imooc.common._this;

import com.imooc.chart.util.FileSplitter;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

@Slf4j
public class CutTest {
    String filePath =
            "/Users/dengwubo/Music/tts/白月光黑化了/input.txt";

    @Test
    public void run1(){
        // 将filePath切割成多个文件,每个文件不超过3000字
        FileSplitter.splitFile(filePath, 1000);

    }
}
